//#include <stdio.h>
//#include <stdlib.h>
//
////Function of inverse.
//void inverse(char ch[])
//{
//    int sz = 0;
//    int left = 0;
//    int right = 0;
//    char tmp = 0;
//    while (ch[sz])  //Calculate the length of a string.
//        sz++;
//    right = sz-1;
//    while (left<right)  //Inverse.
//    {
//        tmp = ch[left]; //Value exchange.
//        ch[left] = ch[right];
//        ch[right] = tmp;
//        left++;
//        right--;
//    }
//}
//
//int main()
//{
//    char ch[20] = {0};
//    printf("Please input a string:>");
//    gets(ch);
//    inverse(ch);
//    printf("The result is %s.\n", ch);
//    return 0;
//}
//
///* Please input a string:>Hello World!
// * The result is !dlroW olleH.
// *
// * Process returned 0 (0x0)   execution time : 10.210 s
// * Press any key to continue.
// */
